package com.smart_campus.teg.domain;

import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class TegClass implements Serializable {
    /**
    * 班级id
    */
    private Integer classId;

    /**
    * 班级姓名
    */
    private String className;

    /**
    * 班级备注
    */
    private String classRemark;

    /**
    * 乐观锁
    */
    private Integer version;

    /**
    * 排序码
    */
    private Integer infoordernum;

    /**
    * 专业id
    */
    private Integer majorId;

    /**
    * 创建时间
    */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /**
    * 修改时间
    */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    private static final long serialVersionUID = 1L;
}